package com.fusuhai.service;

import com.fusuhai.bean.InsectBean;
import com.github.pagehelper.PageInfo;

public interface InsectService {
    /**
     * 添加新虫害
     * @param insect 虫害Bean
     */
    void addInsect(InsectBean insect);

    InsectBean selectInsect(int id);

    PageInfo<InsectBean> selectInsectByName(int pageNO, int pageSize,String name,String host);

    PageInfo<InsectBean>  selectAllInsect(int pageNO, int pageSize);
}
